#BOOST_LIB_PATH		= /Users/zaphoyd/Documents/boost_1_48_0_libcpp/stage/lib
#BOOST_INCLUDE_PATH	= /Users/zaphoyd/Documents/boost_1_48_0_libcpp
#WEBSOCKETPP			= /Users/zaphoyd/Documents/websocketpp/libwebsocketpp_cpp11.a
#WEBSOCKETPP_PATH	= /Users/zaphoyd/Documents/websocketpp/src
CPP11               = -std=c++0x
DEBUG				= 0

CFLAGS = $(CPP11)
LDFLAGS = 

CXX		= g++

ifeq ($(CXX), clang++)
	CFLAGS += -stdlib=libc++
endif

ifeq ($(DEBUG), 0)
	CFLAGS += -O2 -DNDEBUG
else
	CFLAGS += -g -O0
endif

heat_test: heat_test.o
	$(CXX) $(CFLAGS) $^ -o $@ $(LDFLAGS)

%.o: %.cpp
	$(CXX) -c $(CFLAGS) -o $@ $^

# cleanup by removing generated files
#
.PHONY:		clean
clean:
		rm -f *.o heat_test
